package com.blog.login.service;

import com.blog.login.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 苏离
 * @since 2021-12-08
 */
public interface UserService extends IService<User> {
    String findUserByName(String name);
    boolean registerUser(User user);
    Map<String,Object> login(String userName, String Password);
    Boolean updatePassword(String username,String password);
}
